<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>医疗美容病例记录演示</title>
    <script src="https://cdn.tailwindcss.com/3.4.17"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
    <style>
        body {
            font-family: 'Noto Sans SC', sans-serif;
        }
        .medical-record {
            background: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .record-section {
            border-bottom: 1px solid #e5e7eb;
        }
        .record-section:last-child {
            border-bottom: none;
        }
        .form-input {
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            padding: 0.5rem;
            width: 100%;
        }
        .form-input:focus {
            outline: none;
            border-color: #3b82f6;
            ring: 2px solid #3b82f6;
        }
        @media print {
            .no-print {
                display: none;
            }
            body {
                background: white;
            }
            .medical-record {
                box-shadow: none;
            }
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="container mx-auto px-4 py-8">
        <div class="flex justify-between items-center mb-6 no-print">
            <h1 class="text-2xl font-bold text-gray-800">医疗美容病例记录演示</h1>
            <div class="flex space-x-2">
                <button id="print-btn" class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg flex items-center">
                    <i class="fas fa-print mr-2"></i>打印
                </button>
                <button id="save-btn" class="bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-lg flex items-center">
                    <i class="fas fa-save mr-2"></i>保存
                </button>
            </div>
        </div>

        <div class="medical-record rounded-lg overflow-hidden">
            <!-- 病例首页 -->
            <div class="p-6 record-section">
                <div class="text-center mb-6">
                    <h2 class="text-xl font-bold">医疗美容病例记录</h2>
                    <p class="text-gray-600">Medical Aesthetic Case Record</p>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">病例编号</label>
                        <input type="text" class="form-input" value="MA20250823001" readonly>
                    </div>
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">建档日期</label>
                        <input type="date" class="form-input" value="2025-08-23" readonly>
                    </div>
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">医师</label>
                        <input type="text" class="form-input" value="张医生" readonly>
                    </div>
                </div>
            </div>

            <!-- 患者基本信息 -->
            <div class="p-6 record-section">
                <h3 class="text-lg font-semibold mb-4 pb-2 border-b">患者基本信息</h3>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <div class="grid grid-cols-2 gap-4 mb-4">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">姓名</label>
                                <input type="text" class="form-input" value="李美丽">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">性别</label>
                                <select class="form-input">
                                    <option>女</option>
                                    <option>男</option>
                                </select>
                            </div>
                        </div>
                        
                        <div class="grid grid-cols-3 gap-4 mb-4">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">年龄</label>
                                <input type="number" class="form-input" value="28">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">出生日期</label>
                                <input type="date" class="form-input" value="1997-05-15">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">婚姻状况</label>
                                <select class="form-input">
                                    <option>未婚</option>
                                    <option selected>已婚</option>
                                    <option>离异</option>
                                    <option>丧偶</option>
                                </select>
                            </div>
                        </div>
                        
                        <div class="mb-4">
                            <label class="block text-sm font-medium text-gray-700 mb-1">联系电话</label>
                            <input type="tel" class="form-input" value="138****8888">
                        </div>
                    </div>
                    
                    <div>
                        <div class="mb-4">
                            <label class="block text-sm font-medium text-gray-700 mb-1">联系地址</label>
                            <input type="text" class="form-input" value="北京市朝阳区建国路88号">
                        </div>
                        
                        <div class="grid grid-cols-2 gap-4 mb-4">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">职业</label>
                                <input type="text" class="form-input" value="企业职员">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">客户来源</label>
                                <select class="form-input">
                                    <option selected>朋友介绍</option>
                                    <option>网络广告</option>
                                    <option>线下活动</option>
                                    <option>老客户推荐</option>
                                    <option>其他</option>
                                </select>
                            </div>
                        </div>
                        
                        <div class="mb-4">
                            <label class="block text-sm font-medium text-gray-700 mb-1">推荐人</label>
                            <input type="text" class="form-input" value="王女士">
                        </div>
                    </div>
                </div>
            </div>

            <!-- 主诉与现病史 -->
            <div class="p-6 record-section">
                <h3 class="text-lg font-semibold mb-4 pb-2 border-b">主诉与现病史</h3>
                
                <div class="mb-4">
                    <label class="block text-sm font-medium text-gray-700 mb-1">主诉</label>
                    <textarea class="form-input h-16">面部皮肤松弛，希望改善面部轮廓，提升年轻态</textarea>
                </div>
                
                <div class="mb-4">
                    <label class="block text-sm font-medium text-gray-700 mb-1">现病史</label>
                    <textarea class="form-input h-20">患者近一年来自觉面部皮肤逐渐松弛，尤其是下颌缘轮廓不清晰，有"双下巴"现象。工作压力大，经常熬夜，皮肤状态不佳。曾使用过多种护肤品，效果不明显。希望通过医疗美容手段改善面部状态。</textarea>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">既往美容史</h4>
                        <div class="space-y-2">
                            <div class="flex items-center">
                                <input type="checkbox" id="cosmetic-surgery" class="mr-2">
                                <label for="cosmetic-surgery" class="text-sm">整形手术史</label>
                            </div>
                            <div class="flex items-center">
                                <input type="checkbox" id="injectable" class="mr-2" checked>
                                <label for="injectable" class="text-sm">注射美容史</label>
                            </div>
                            <div class="flex items-center">
                                <input type="checkbox" id="laser" class="mr-2">
                                <label for="laser" class="text-sm">激光美容史</label>
                            </div>
                        </div>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">治疗期望</h4>
                        <div class="space-y-2">
                            <div class="flex items-center">
                                <input type="checkbox" id="expectation1" class="mr-2" checked>
                                <label for="expectation1" class="text-sm">改善面部轮廓</label>
                            </div>
                            <div class="flex items-center">
                                <input type="checkbox" id="expectation2" class="mr-2" checked>
                                <label for="expectation2" class="text-sm">提升皮肤紧致度</label>
                            </div>
                            <div class="flex items-center">
                                <input type="checkbox" id="expectation3" class="mr-2">
                                <label for="expectation3" class="text-sm">改善肤质</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 体格检查 -->
            <div class="p-6 record-section">
                <h3 class="text-lg font-semibold mb-4 pb-2 border-b">体格检查</h3>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">一般情况</h4>
                        <div class="grid grid-cols-2 gap-4 mb-3">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">身高(cm)</label>
                                <input type="number" class="form-input" value="165">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">体重(kg)</label>
                                <input type="number" class="form-input" value="52">
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">BMI</label>
                                <input type="text" class="form-input" value="19.1" readonly>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">血压(mmHg)</label>
                                <input type="text" class="form-input" value="110/70">
                            </div>
                        </div>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-2">皮肤状况</h4>
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-1">皮肤类型</label>
                            <select class="form-input">
                                <option>中性</option>
                                <option>干性</option>
                                <option selected>油性</option>
                                <option>混合性</option>
                                <option>敏感性</option>
                            </select>
                        </div>
                        
                        <div class="mt-3">
                            <label class="block text-sm font-medium text-gray-700 mb-1">皮肤描述</label>
                            <textarea class="form-input h-16">面部皮肤略松弛，弹性一般，肤色不均，有轻微色斑，毛孔粗大</textarea>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 面部美学评估 -->
            <div class="p-6 record-section">
                <h3 class="text-lg font-semibold mb-4 pb-2 border-b">面部美学评估</h3>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <h4 class="font-medium text-gray-800 mb-3">正面观评估</h4>
                        <div class="space-y-3">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">面部比例</label>
                                <select class="form-input">
                                    <option selected>标准</option>
                                    <option>三庭不均</option>
                                    <option>五眼不均</option>
                                </select>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">面部对称性</label>
                                <select class="form-input">
                                    <option selected>对称</option>
                                    <option>轻度不对称</option>
                                    <option>中度不对称</option>
                                    <option>重度不对称</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-3">老化程度评估</h4>
                        <div class="space-y-3">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">皮肤老化(Glogau分级)</label>
                                <select class="form-input">
                                    <option>I级(无 wrinkles)</option>
                                    <option>II级(轻微 wrinkles)</option>
                                    <option selected>III级(明显 wrinkles)</option>
                                    <option>IV级(严重 wrinkles)</option>
                                </select>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">面部松弛程度</label>
                                <select class="form-input">
                                    <option>无松弛</option>
                                    <option>轻度松弛</option>
                                    <option selected>中度松弛</option>
                                    <option>重度松弛</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 诊断与治疗计划 -->
            <div class="p-6 record-section">
                <h3 class="text-lg font-semibold mb-4 pb-2 border-b">诊断与治疗计划</h3>
                
                <div class="mb-4">
                    <label class="block text-sm font-medium text-gray-700 mb-1">初步诊断</label>
                    <textarea class="form-input h-16">面部皮肤中度松弛，轮廓不清晰，伴有轻度光老化表现</textarea>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <h4 class="font-medium text-gray-800 mb-3">推荐治疗方案</h4>
                        <div class="space-y-3">
                            <div class="border rounded-lg p-3">
                                <div class="flex justify-between items-center mb-2">
                                    <h5 class="font-medium">热玛吉(Thermage)</h5>
                                    <input type="checkbox" checked>
                                </div>
                                <p class="text-sm text-gray-600 mb-2">面部紧致提升治疗</p>
                                <div class="grid grid-cols-2 gap-2">
                                    <div>
                                        <label class="text-xs text-gray-500">治疗部位</label>
                                        <input type="text" class="form-input text-sm" value="全面部+颈部">
                                    </div>
                                    <div>
                                        <label class="text-xs text-gray-500">发数</label>
                                        <input type="number" class="form-input text-sm" value="450">
                                    </div>
                                </div>
                            </div>
                            
                            <div class="border rounded-lg p-3">
                                <div class="flex justify-between items-center mb-2">
                                    <h5 class="font-medium">水光针(HydraFacial)</h5>
                                    <input type="checkbox" checked>
                                </div>
                                <p class="text-sm text-gray-600 mb-2">皮肤补水嫩肤治疗</p>
                                <div class="grid grid-cols-2 gap-2">
                                    <div>
                                        <label class="text-xs text-gray-500">治疗部位</label>
                                        <input type="text" class="form-input text-sm" value="全面部">
                                    </div>
                                    <div>
                                        <label class="text-xs text-gray-500">疗程</label>
                                        <input type="number" class="form-input text-sm" value="3">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div>
                        <h4 class="font-medium text-gray-800 mb-3">治疗计划</h4>
                        <div class="space-y-3">
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">治疗时间安排</label>
                                <div class="grid grid-cols-2 gap-2">
                                    <div>
                                        <label class="text-xs text-gray-500">首次治疗</label>
                                        <input type="date" class="form-input text-sm" value="2025-08-30">
                                    </div>
                                    <div>
                                        <label class="text-xs text-gray-500">后续治疗</label>
                                        <input type="date" class="form-input text-sm" value="2025-09-20">
                                    </div>
                                </div>
                            </div>
                            
                            <div>
                                <label class="block text-sm font-medium text-gray-700 mb-1">预期效果</label>
                                <textarea class="form-input h-16">面部轮廓更加清晰，皮肤紧致度提升，肤质改善，整体年轻化效果</textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 知情同意 -->
            <div class="p-6">
                <h3 class="text-lg font-semibold mb-4 pb-2 border-b">知情同意</h3>
                
                <div class="mb-4">
                    <div class="flex items-start mb-3">
                        <input type="checkbox" id="consent1" class="mt-1 mr-2" checked>
                        <label for="consent1" class="text-sm">本人已充分了解本次治疗的目的、方法、预期效果及可能存在的风险，并自愿接受治疗。</label>
                    </div>
                    <div class="flex items-start mb-3">
                        <input type="checkbox" id="consent2" class="mt-1 mr-2" checked>
                        <label for="consent2" class="text-sm">本人已如实告知医生自身的健康状况、过敏史及既往治疗史，如有隐瞒愿承担相应责任。</label>
                    </div>
                    <div class="flex items-start">
                        <input type="checkbox" id="consent3" class="mt-1 mr-2" checked>
                        <label for="consent3" class="text-sm">本人理解医疗美容治疗存在个体差异，治疗效果可能因人而异，不保证达到理想效果。</label>
                    </div>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mt-6">
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">患者签名</label>
                        <div class="border border-dashed border-gray-400 rounded h-12 flex items-center justify-center text-gray-500">
                            <i class="fas fa-signature mr-2"></i>患者签名
                        </div>
                    </div>
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">医师签名</label>
                        <div class="border border-dashed border-gray-400 rounded h-12 flex items-center justify-center text-gray-500">
                            <i class="fas fa-signature mr-2"></i>医师签名
                        </div>
                    </div>
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">签名日期</label>
                        <input type="date" class="form-input" value="2025-08-23">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // 打印功能
        document.getElementById('print-btn').addEventListener('click', function() {
            window.print();
        });

        // 保存功能
        document.getElementById('save-btn').addEventListener('click', function() {
            alert('病例记录已保存');
        });
    </script>
</body>
</html>
